import numpy as np
from matplotlib import pyplot as plt
from skimage import data,io

data.coffee()
random_image = np.random.random([500,500])
print(random_image)
plt.imshow(random_image,cmap='gray')
plt.colorbar()
plt.show()